package org.assess.oa.process.dao.impl;

import org.assess.core.dao.BaseDAOImpl;
import org.assess.oa.process.bean.AsProLeave;
import org.assess.oa.process.dao.AsProLeaveDAO;

/**
 * @description 操作请调休申请表的DAO层实现类
 * @author XiaLongxiang
 * @createtime 2012-6-25 下午5:35:43
 */
public class AsProLeaveDAOImpl extends BaseDAOImpl<AsProLeave> implements AsProLeaveDAO {
    public AsProLeave queryAsProLeaveById(String pro_leave_id) {
        return (AsProLeave)sqlClient.queryForObject("queryAsProLeaveById", pro_leave_id);
    }
    
    public boolean updateAsProLeaveStatus(AsProLeave proleave) {
        sqlClient.update("updateAsProLeaveStatus", proleave);
        return true;
    }
}
